

package org.yagnus.stats.sampler.disrete.withoutreplacement;

/**
 *
 * @author hc.busy
 * 
 * 
 * This class implements a more efficient unifor sampler from an array of objects
 * 
 * TODO: write this class, implement partial ArrayList shuffle.
 */
public class UniformArraySampler<BASETYPE> extends WithoutReplacementSampler<BASETYPE> {

    @Override
    public BASETYPE take() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    protected void _init(BASETYPE[] t, double[] weights) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void addSample(BASETYPE t, double w) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void removeSample(BASETYPE t) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public UniformArraySampler(BASETYPE[] t, double[] weights) {
        super(t, weights);
    }

    public UniformArraySampler(BASETYPE[] t, long[] weights) {
        super(t, weights);
    }

    public UniformArraySampler(BASETYPE[] t, int[] weights) {
        super(t, weights);
    }

    public UniformArraySampler(BASETYPE[] t) {
        super(t);
    }

}
